package com.ai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 摄像头网络状态记录表
 * </p>
 *
 * @author jiaok
 * @since 2023-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("camera_net_status_record")
@ApiModel(value="CameraNetStatusRecord对象", description="摄像头网络状态记录表")
public class CameraNetStatusRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "0：关闭状态，1：开启状态，")
    private String cameraStatus;

    @ApiModelProperty(value = "0：旧记录，1：最新记录")
    private Integer isLatest;

    @ApiModelProperty(value = "摄像机ID")
    private Integer cameraId;

    @ApiModelProperty(value = "摄像机IP")
    private String cameraIp;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
